﻿<Window x:Name="Hauptfenster" x:Class="WpfModelViewer.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:i="clr-namespace:System.Windows.Interop;assembly=PresentationCore"
    xmlns:ii="clr-namespace:System.Windows.Controls;assembly=PresentationFramework"
    Title="Window1" Height="671" Width="873" SizeChanged="output_SizeChanged" LocationChanged="Window_LocationChanged"  Opacity="50"
        DragEnter="Window_DragEnter" DragLeave="Window_DragLeave"
        AllowsTransparency="False"
        Background="Transparent"
        WindowStyle="ThreeDBorderWindow">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100*" MaxWidth="100" MinWidth="100" />
            <ColumnDefinition Width="472*" />
        </Grid.ColumnDefinitions>

        <Image x:Name="output"  Grid.Column="1" Stretch="UniformToFill" Margin="0,0,0,114">
            <Image.Source>
                <i:D3DImage x:Name="d3dimage" ></i:D3DImage>
            </Image.Source>
        </Image>
        <Button Height="23" Name="button1" VerticalAlignment="Top" HorizontalAlignment="Left" Width="75" Click="button1_Click" Margin="6,36,0,0">Button</Button>
    </Grid>
</Window>